package com.grm.entity;


import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;


@Data
public class LoginRequest {
    @NotBlank(message = "用户名不能为空！")
    @Min(value = 5)
    private String username;
    @NotBlank(message = "密码不能为空！")
    private String password;
}